package com.xieyingwangluo.yxpart.service.impl;

import com.xieyingwangluo.yxpart.entity.UserEducationModel;
import com.xieyingwangluo.yxpart.mapper.UserEducationMapper;
import com.xieyingwangluo.yxpart.service.UserEduService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserEduServiceImpl implements UserEduService {
    @Autowired
    private UserEducationMapper userEducationMapper;

    @Override
    public int add(UserEducationModel userEducationModel) {
        return userEducationMapper.add(userEducationModel);
    }

    @Override
    public UserEducationModel getById(String noid) {
        return userEducationMapper.getById(noid);
    }

    @Override
    public int upd(UserEducationModel userEducationModel) {
        return userEducationMapper.upd(userEducationModel);
    }

    @Override
    public List<UserEducationModel> selA(UserEducationModel userEducationModel) {
        return userEducationMapper.selA(userEducationModel);
    }
}
